package com.maycur.ctrip.util;

import com.maycur.ice.idgeneration.IdGenerationServicePrx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;



/**
 * Created by zhouchunjie on 16/2/14.
 */
@Component
public class MaycurIDProduceUtil {

    @Autowired
    private IceClientUtil iceClientUtil;

    /**
     * Description: fee_data表fee_code生成
     *
     * @return
     */
    public String produceFeeDataCode() {
        String code =
            "FD" + ((IdGenerationServicePrx) iceClientUtil.getServiceProxy(IdGenerationServicePrx.class)).getUniqueId();
        return code;
    }
}
